package com.zmc.admin.infrastructure.dao;

import com.zmc.admin.infrastructure.entity.SysUserPostEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户与岗位关联表
 * 
 * @author zmc
 * @email 
 * @date 2024-10-09 17:27:49
 */
@Mapper
public interface SysUserPostDao extends BaseMapper<SysUserPostEntity> {

    boolean insertBatch(@Param("userPostList") List<SysUserPostEntity> userPostList);

    void deleteUserPostByUserId(@Param("userId") Long userId);
}
